﻿using System.Collections.Generic;
using HMIS.FrameWork;
using FsCarInfo.Core.Entity;
using HMIS.FrameWork.DomainBase;

namespace FsCarInfo.Facade
{
	public interface ICarTransferFacade : IDomainFacade
    {
		bool IsFieldExist(string fieldName, string fieldValue, string id);
		void SaveOrUpdate(CarTransfer entity);
		void Delete(string id);
		CarTransfer Get(string id);
		CarTransfer Load(string id);

		IList<CarTransfer> QueryPlist(string query,
			int start,
			int limit,
			string sort,
			string dir,
			List<DataFilter> filters, out long total);
		
		IList<CarTransfer> GetPlist(int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);
		
		IList<CarTransfer> QueryCarList(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);
	}
}
